package vip.yugu.interview;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface InterviewMapper {

    @Select("SELECT * FROM tb_interview")
    List<Interview> findAdd();

    @Delete("DELETE FROM tb_interview")
    void clearAll();

    int batchInsert(List<Interview> list);

}
